#ifndef _RESOURCE_MANAGER_H_
#define _RESOURCE_MANAGER_H_

#include <map>

class Map;

class ResourceManager//TODO: clean up unused resource
{
public:
	~ResourceManager();
	//image
	sf::Image& loadImage(const wstring& path);
	//map
	Map* loadMap(const SQChar* path);
	Map* newMap(const SQChar* path);
	void unloadMap(const SQChar* path);
	//animation
	//AnimationProfile(const
private:
	std::map<wstring,sf::Image> images;
	std::map<wstring,Map*> maps;
};

#endif